<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/25
 * Time: 9:12
 */

namespace app\domain;
//use rap\db\DB;
//use rap\db\Record;
use app\server\StickPay as modelSP;

class StickPay
{
    public function addOrderInfo($data) {

        $res = modelSP::addOrderInfo($data);

        return $res;
    }

    public function updateOrderInfo ($where, $data) {

        $res = modelSP::updateOrderInfo($where, $data);

        return $res;
    }

    public function addUserCashInfo($data) {

        $res = modelSP::addUserCashInfo($data);

        return $res;
    }

    public function getUserPayInfo ($where, $field, $limit, $page) {

        $list = modelSP::getUserPayInfo($where, $field, $limit, $page);

        return $list;
    }

    public function excelSql($sql) {

        $res = modelSP::updateInfo($sql);
        return $res;
    }
}